//
//  UIViewController+BaseClass.h
//  OnionHome
//
//  Created by fengjie on 2019/10/8.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (BaseClass)

+ (instancetype)controller;
+ (instancetype)controllerByDefaultName;
+ (instancetype)controllerByStoryboard:(UIStoryboard *)storyboard;

+ (UIViewController *)lastPresentedViewController;
+ (UIViewController *)lastPresentedViewControllerByWindow:(UIWindow *)window;

@end

NS_ASSUME_NONNULL_END
